package com.yxlcommon.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yxlcommon.common.vo.OrderCommentVo;
import com.yxlcommon.common.pojo.OrderComment;

public interface OrderCommentMapper extends BaseMapper<OrderComment> {
    int updateReplyCommentContent(Long orderId, String replyContent);
    OrderComment selectOrderCommentByOrderId(Long orderId);

    IPage<OrderComment> selectAllOrderCommentsByPage(Page<OrderComment> page, String orderCommentContent);

    OrderCommentVo selectOrderCommentById(Long orderCommentId);
}
